<h1>Listing map_markers</h1>

<table>
  <tr>
    <th>Title</th>
    <th>Description</th>
    <th>Latitude</th>
    <th>Longitude</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @map_markers.each do |map_marker| %>
  <tr>
    <td><%= map_marker.title %></td>
    <td><%= map_marker.description %></td>
    <td><%= map_marker.latitude %></td>
    <td><%= map_marker.longitude %></td>
    <td><%= link_to 'Show', map_marker %></td>
    <td><%= link_to 'Edit', edit_map_marker_path(map_marker) %></td>
    <td><%= link_to 'Destroy', map_marker, method: :delete, data: { confirm: 'Are you sure?' } %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Map marker', new_map_marker_path %>
